package com.ruoyi.task.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务创建对象 tb_collection_tasks
 *
 * @author ruoyi
 * @date 2024-10-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Task extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务主键 */
    private Long taskId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** id谁创建的 */
    @Excel(name = "id谁创建的")
    private String createdBy;


    private String createName;


    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /** 截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "截止日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date deadline;

    /** 状态 */
    @Excel(name = "状态")
    private String status;


}
